import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import 'amfe-flexible'
import 'normalize.css'

import "@/assets/styles/main.less"

import VConsole from 'vconsole';
import NavBar from './components/NavBar/NavBar.vue'

if (import.meta.env.VITE_USER_NODE_ENV === 'development') {
	new VConsole()
}

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.component('NavBar', NavBar); //顶部导航栏

app.mount('#app')
